<include file="Public:header"/>

<div id="wrap">
    <div id="left">
        <php>include(C("MYCACHE_PATH").'/blogcat.php');</php>
        <div class="position">当前位置:&nbsp;新闻中心</div>
        <div class="article-list">
            <ul>
                <iterate name="list" id="row">
                    <li>
                        <h2 class="title"><a href="__APP__/Blog/{$row['url']}">{$row['title']}</a></h2>
                        <h3 class="intro">{$row['intro']}</h3>
                        <div class="time">新闻分类：<a href="__APP__/Blog/index/catid/{$row['catid']}"><php>echo $blogcat[$row['catid']]</php></a>
                        		发布时间：{$row['addtime']|date='Y-m-d h:i:s',###}</div>
                    </li>
                </iterate>
            </ul>
        </div>
        <div class="pagination">{$page}</div>
        <div class="clear"></div>
    </div>

    <div id="right">
        <div class="news-title">
            <div class="newsimg"><img src="../Public/images/news-cat.jpg" alt="新闻分类" /></div>
        </div>
        <div class="news-nav"></div>
        <div class="news-list">
            <ul>
                <php>include(C("MYCACHE_PATH").'/datacat.php');</php>
                <php>foreach($datacat as $key=>$value){</php>
                <li><a href="__APP__/Blog/index/catid/{$key}">{$value}</a></li>
                <php>}</php>
            </ul>
        </div>

        <div class="knowledge-title">
            <div class="annimg"><img src="../Public/images/knowledge.jpg" alt="装修须知" /></div>
            <div class="more"><a href="__APP__/Knowledge"><img src="../Public/images/more.gif" /></a></div>
        </div>
        <div class="knowledge-nav"></div>
        <div class="knowledge-list">
            <ul>
                <php>include(C('MYCACHE_PATH').'/knowledge.php');</php>
                <iterate name="knowledge" id="row">
                    <li><a href="__APP__/Knowledge/{$row['url']}">{$row['title']}</a></li>
                </iterate>
            </ul>
        </div>

        <div class="contactus">
            <a href="__APP__/Page/contactus.html"><img src="../Public/images/contactus.gif" alt="联系我们"></a>
        </div>                
        <div class="clear"></div>
    </div>
</div>

<include file="Public:footer"/>
